# == Schema Information
# Schema version: 1
#
# Table name: ingredients
#
#  id             :integer(11)   not null, primary key
#  name           :string(30)    default(""), not null
#  amount         :float         not null
#  measurement_id :integer(11)   not null
#  food_id        :integer(11)   not null
#

class Ingredient < ActiveRecord::Base
  has_one :food
  has_one :measurement
  has_and_belongs_to_many :recipes
end
